package com.jkoss.wine.system.service.impl;

import com.jkoss.wine.system.entity.Loginlog;
import com.jkoss.wine.system.mapper.LoginlogMapper;
import com.jkoss.wine.system.service.ILoginlogService;
import com.baomidou.mybatisplus.mapper.Wrapper;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * 登录记录 服务实现类
 * 
 * @Author 周华军
 * @Version 1.0, 2018-10-31
 * @See
 * @Since com.jkoss.wine.system.service.impl
 * @Description: TODO
 */
@Service
public class LoginlogServiceImpl extends ServiceImpl<LoginlogMapper, Loginlog> implements ILoginlogService {

	@Override
	public Integer getMaxFrequency() {
		return baseMapper.getMaxFrequency();
	}

	@Override
	public Loginlog selectLastOneLoginlog(Wrapper wrapper) {
		return baseMapper.selectLastOneLoginlog(wrapper);
	}

}
